body {
    /* 永远不会出现X轴滚动条 */
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    -moz-user-select: none;
    max-width: 540px;
    margin: 0 auto;
    background: #fafafc;
}

a {
    text-decoration: none;
    color: #222;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
}

ul li {
    list-style: none;
}

div {
    box-sizing: border-box;
}

.search-index {
    display: flex;
    /* 固定定位跟父级没有关系 它以屏幕为准 */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 为了兼顾老版本 */
    -webkit-transform: translateX(-50%);
    /* 固定的盒子一定要给宽度 */
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.search {
    /* overflow: hidden; */
    position: relative;
    /* 这个高度包含了边框高度 */
    flex: 1;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    padding-left: 25px;
    margin: 6px 10px;
    font-size: 12px;
    color: #666;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search::before {
    position: absolute;
    content: '';
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}

.user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}

.user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    margin: 5px 10.5px 1px 10.5px;
    background: url(../images/sprite.png)no-repeat -59px -194px;
    background-size: 104px auto;
}


/* 焦点图 */

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
}


/* 局部导航栏 */

.local-nav {
    display: flex;
    height: 64px;
    margin: 3px 4px;
    background-color: #fff;
    border-radius: 8px;
}

.local-nav li {
    flex: 1;
}

.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    margin-top: 8px;
    margin-bottom: 3px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}

.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}

.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}

.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}

.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}


/* 主导航栏 */

nav {
    /* 因为没有给nav-common边角属性 */
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}

.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}

.nav-common:nth-child(2) {
    margin: 3px 0;
}

.nav-items {
    flex: 1;
}

.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav-items:nth-child(n+1) {
    display: flex;
    flex-direction: column;
}

.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    /* 文字阴影 */
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 14px;
}

.nav-common .nav-items:nth-child(n+2) a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

.nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common:nth-child(n+1) {
    background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
}


/* 侧导航栏 */

.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    padding: 5px 0;
    margin: 0 4px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 1px 0 4px rgba(0, 0, 0, .2);
}

.subnav-entry li {
    flex: 20%;
}

.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.subnav-entry-icon {
    width: 28px;
    height: 28px;
    margin-top: 4px;
    background-color: pink;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
}


/* 销售模块 */

.sales-box {
    margin: 4px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}

.sales-hd h2 {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}

.sales-hd h2::after {
    position: absolute;
    top: 10px;
    left: 10px;
    content: "";
    width: 79px;
    height: 15px;
    background-color: pink;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}

.more {
    position: absolute;
    right: 5px;
    top: 0px;
    padding: 3px 20px 3px 10px;
    border-radius: 15px;
    background: -webkit-linear-gradient(left, #ff506c, #ff6bc6);
    color: #fff;
    font-size: 16px;
}

.more::after {
    content: '';
    position: absolute;
    top: 7px;
    right: 9px;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
}

.row {
    display: flex;
}

.row a:nth-child(1) {
    border-right: 1px solid #eee;
}

.row a {
    flex: 50%;
    border-bottom: 1px solid #eee;
}

.row a img {
    width: 100%;
}


/* 底导航栏 */

.bottom-nav {
    display: flex;
    margin: 8px 4px;
    background-color: #fff;
}

.bottom-nav li {
    flex: 1;
}

.bottom-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333333;
}

.bottom-nav [class^="bottom-nav-items"] {
    width: 17px;
    height: 17px;
    margin: 7px 0;
    background-color: pink;
    background: url(../images/sprite.png) no-repeat -60px -153px;
    background-size: 104px auto;
}

.bottom-nav li .bottom-nav-items-pic2 {
    background-position: -60px -174px;
}

.bottom-nav li .bottom-nav-items-pic3 {
    background-position: -60.5px -310px;
}